<?php

class LoginModel extends CustomModel
{

    public function getCode($userSecret)
    {
        $gAuth = new GoogleAuthenticator();
        return $gAuth->getCode($userSecret);
    }

}

?>